package cn.iocoder.yudao.module.alipay.controller.admin.infoauthaliapp.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 授权应用信息 Excel 导出 Request VO，参数和 InfoAuthAliAppPageReqVO 是一致的")
@Data
public class InfoAuthAliAppExportReqVO {

    @Schema(description = "小程序编码", example = "20850")
    private Long appId;

    @Schema(description = "授权第三方应用小程序id", example = "21621")
    private Long thirdAppId;

    @Schema(description = "小程序名称", example = "李四")
    private String appName;

    @Schema(description = "状态")
    private String appState;

    @Schema(description = "自动提审")
    private String autoReview;

    @Schema(description = "授权日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] authTime;

    @Schema(description = "授权人用户id", example = "20632")
    private Long authUserId;

    @Schema(description = "系统用户id", example = "20632")
    private Long sysUserId;

    private Long creator;
}
